// 新增：加分记录类

class ScoreRecord {

    private final int points;

    private final String reason;

    private final long timestamp;



    public ScoreRecord(int points, String reason, long timestamp) {

        this.points = points;

        this.reason = reason;

        this.timestamp = timestamp;

    }



    public int getPoints() {

        return points;

    }



    public String getReason() {

        return reason;

    }



    public long getTimestamp() {

        return timestamp;

    }



    @Override

    public String toString() {

        return String.format("加分记录{分数=%d, 原因='%s', 时间=%tc}",

                points, reason, timestamp);

    }

}